//
//  MYDetaiViewController.swift
//  Sina
//
//  Created by 王亮龙1 on 16/5/19.
//  Copyright © 2016年 lianglong. All rights reserved.
//

import UIKit
import SVProgressHUD

class MYDetaiViewController: UIViewController {
    
    override func viewDidLoad() {
        
        //SVProgressHUD.showWithStatus(APPErrorTip)
        
        self.view.backgroundColor = UIColor.whiteColor()
        
        navigationItem.rightBarButtonItem = UIBarButtonItem(title: "next", style: .Plain, target: self, action: #selector(pushToNextVc))
        
    }
    
    @objc private func pushToNextVc() {
        
        let nextVc = MYDetaiViewController()
        
        navigationController?.pushViewController(nextVc, animated: true)
        
    }
    
    
}
